package com.bookyourtrek.action;

import java.util.Map;

import com.opensymphony.xwork2.ActionContext;
import com.opensymphony.xwork2.ActionSupport;

public class AdminLogoutAction extends ActionSupport{

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	
	@SuppressWarnings("rawtypes")
	public String adminlogout() {
		Map sess=ActionContext.getContext().getSession();
        sess.remove("adminlogin");
        return SUCCESS;
	}

}
